package org.stream.answerduel.vo.Subject;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author  郭榕
 * @date    2019/7/17  13:53
 * 功能描述：题目详情
 *
 */
@ApiModel("单个题目")
@Slf4j
@Data
@Accessors(chain = true)
public class SingleSubject {

    @ApiModelProperty
    private String id ;

    @ApiModelProperty
    private String topicContent;

    @ApiModelProperty
    private String analysis;

    @ApiModelProperty
    private List<String> options;

    @ApiModelProperty
    private List<String> answer;

    @ApiModelProperty
    private List<String> tags;

    @Override
    public String toString() {
        return "SingleSubject{" +
                "id='" + id + '\'' +
                ", topicContent='" + topicContent + '\'' +
                ", analysis='" + analysis + '\'' +
                ", options=" + options +
                ", answer=" + answer +
                ", tags=" + tags +
                '}';
    }
}
